libmyc.a:add.o sub.o
	ar -rc -o $@ $^
%.o:%.c
	gcc -c $<

.PHONY:clean
clean:
	rm -f libmyc.a ./*.o

.PHONY:output
output:
	mkdir -p mylib/include
	mkdir -p mylib/lib 
	cp ./*.h mylib/include
	cp ./*.a mylib/lib 
